package day1103_3;

import java.io.*;

public class F3 {
    public static void main(String[] args) throws IOException {
        BufferedInputStream   bif=//1.
                new BufferedInputStream( new FileInputStream("1103.txt"));
        BufferedOutputStream   bof=//1.
                new BufferedOutputStream( new FileOutputStream("1103.txt"));

        //BufferedInputStream:  读数据效率更高(带有一个缓冲数组)
        int len=0;//2.
        while(  (len=bif.read())!=-1  ){
            //System.out.print((char)len);
            bof.write(len);//2.
        }
        bof.close();//3.
        bif.close();//3.
    }

}







